package com.pzhu.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @TableName shoppingcar
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Shoppingcar<T> implements Serializable {

    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer carid;
    /**
     *
     */

    private Integer userid;

    private Integer id;
    /**
     *
     */
    private Integer number;
    /**
     *
     */
    private Integer type;


    @TableField(exist = false)
    private T data;


}
